package com.camel.base.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.camel.core.entity.BasePaginationEntity;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * @TableName tb_mock_response
 */
@TableName(value = "tb_mock_response")
@Data
public class TbMockResponse extends BasePaginationEntity implements Serializable {
    /**
     * 主键
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * mock请求ID
     */
    @TableField(value = "req_id")
    private String reqId;

    /**
     * 微逻辑
     */
    @TableField(value = "smart_logic")
    private String smartLogic;

    /**
     * 响应报文
     */
    @TableField(value = "resp_str")
    private String respStr;

    /**
     * 返回值编码
     */
    @TableField(value = "resp_code")
    private String respCode;

    /**
     * 返回值编码
     */
    @TableField(value = "resp_msg")
    private String respMsg;

    /**
     * 是否全量报文
     * 1 是
     * 0 否
     */
    @TableField(value = "all_out")
    private Integer allOut;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}
